import 'package:flutter_bilibili/page/login/login_binding.dart';
import 'package:flutter_bilibili/page/login/login_view.dart';
import 'package:flutter_bilibili/page/news/news_binding.dart';
import 'package:flutter_bilibili/page/news/news_view.dart';
import 'package:get/get.dart';

class AppRoutes {
  static String getxLogin = "/getx_login";
  static String getxNews = "/getx_news";

  static List<GetPage> routes = [
    GetPage(
      name: getxLogin,
      page: () => const GetxLoginPage(),
      binding: LoginBinding(),
    ),
    GetPage(
      name: getxNews,
      page: () => NewsPage(),
      binding: NewsBinding(),
    )
  ];
}
